
package org.darcy.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Table;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@ApiModel("文章附件: BizFile")
@Table(name = "biz_file")
@Getter
@Setter
public class BizFile implements Serializable{
	
	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(value="")
	@TableId(type= IdType.AUTO)
	private Integer id;
	
	@ApiModelProperty(value="")
	private Long userId;
	
	@ApiModelProperty(value="")
	private String storageType;
	
	@ApiModelProperty(value="")
	private String originalFileName;
	
	@ApiModelProperty(value="")
	private Long size;
	
	@ApiModelProperty(value="")
	private String suffix;
	
	@ApiModelProperty(value="")
	private Integer width;
	
	@ApiModelProperty(value="")
	private Integer height;
	
	@ApiModelProperty(value="")
	private String filePath;
	
	@ApiModelProperty(value="")
	private String fileHash;
	
	@ApiModelProperty(value="")
	private String uploadType;
	
	@ApiModelProperty(value="上传开始时间")
	private Date uploadStartTime;
	
	@ApiModelProperty(value="上传结束时间")
	private Date uploadEndTime;

	


}
